package com.ruoyi.control.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.control.domain.GasDrainagePumpRoom;

/**
 * 瓦斯抽放泵房Mapper接口
 *
 * @author ruoyi
 * @date 2024-11-08
 */
public interface GasDrainagePumpRoomMapper extends BaseMapper<GasDrainagePumpRoom> //修改
{
    /**
     * 查询瓦斯抽放泵房
     *
     * @param tagName 瓦斯抽放泵房主键
     * @return 瓦斯抽放泵房
     */
    public GasDrainagePumpRoom selectGasDrainagePumpRoomByTagName(String tagName);

    /**
     * 查询瓦斯抽放泵房列表
     *
     * @param gasDrainagePumpRoom 瓦斯抽放泵房
     * @return 瓦斯抽放泵房集合
     */
    public List<GasDrainagePumpRoom> selectGasDrainagePumpRoomList(GasDrainagePumpRoom gasDrainagePumpRoom);

    /**
     * 新增瓦斯抽放泵房
     *
     * @param gasDrainagePumpRoom 瓦斯抽放泵房
     * @return 结果
     */
    public int insertGasDrainagePumpRoom(GasDrainagePumpRoom gasDrainagePumpRoom);

    /**
     * 修改瓦斯抽放泵房
     *
     * @param gasDrainagePumpRoom 瓦斯抽放泵房
     * @return 结果
     */
    public int updateGasDrainagePumpRoom(GasDrainagePumpRoom gasDrainagePumpRoom);

    /**
     * 删除瓦斯抽放泵房
     *
     * @param tagName 瓦斯抽放泵房主键
     * @return 结果
     */
    public int deleteGasDrainagePumpRoomByTagName(String tagName);

    /**
     * 批量删除瓦斯抽放泵房
     *
     * @param tagNames 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGasDrainagePumpRoomByTagNames(String[] tagNames);


    void updateBatch(List<GasDrainagePumpRoom> gasDrainagePumpRoomList);

    List<GasDrainagePumpRoom> getAll();

    List<GasDrainagePumpRoom> getGasValueList();

    List<GasDrainagePumpRoom> getDyDpGasValueList();
}
